<?php 
class Md_PostReact extends WdkModel
{
	public function __construct()
	{
		parent::__construct();
		$this->_init();
	}
	
	private function _init()
	{
		$this->table	= 'post_react';
		$this->order	= array("`post_react_seq` DESC");
	}
	
	/**
	 *	Select query for Classes..
	 *  @author	kinuz
	 *  @since	2011. 3. 25
	 */
	public function cLoad($post_react_seq)
	{
		return $this->getData("*", "`post_react_seq` = {$this->escape($post_react_seq)}");
	}
	
	/**
	 *	Select query for Classes..
	 *  @author	kinuz
	 *  @since	2011. 3. 25
	 */
	public function cLoadByPost($post_seq=0, $user_seq=0)
	{
		return $this->getData("*", array("`fk_post_seq` = {$this->escape($post_seq)}", "`fk_user_seq` = {$this->escape($user_seq)}"));
	}
}